<table border=1>
<?php foreach($this->result as $row) : ?>
 <tr>
	<td><?php echo $row->ma; ?></td> 
	<td><?php echo $row->ten; ?></td>
	<td><?php echo $row->diachi; ?></td>
	<td><?php echo $row->ngaysinh; ?></td>
	<td><?php echo $row->gioitinh; ?></td>
	<td><img src="/images/<?php echo $row->avatar; ?>" /></td>
</tr>
 
 
 <?php endforeach; ?>
 </table>
 <a href="<?php echo $this->baseUrl("index/new/tenbien/giatri1"); ?>">Add</a>